To: dheffel@vitds2.nswc.navy.mil (David R. Heffelfinger)
In article <1996Apr9.164443.28709@relay.nswc.navy.mil>,
dheffel@vitds2.nswc.navy.mil (David R. Heffelfinger) writes:
>Hi there,
> There is (hopefully) a simple answer to my question:
>
>I have some C code divided into different source files.
>When I try to compile using
> "cc file1.c file2.c file3.c"
>the constants #define'd in file1.c are not visible in file2.c, is there a way to make them visible to the other source files? In other words, is there som equivalent to "extern" for constants?
>
Put them in a header file and include the header file in both file1.c and